package com.tim.service;

import com.tim.pojo.DataResult;
import com.tim.pojo.Pet;

import java.util.List;

/**
 * 作者：Tim
 * 时间：2021/4/29 11:02
 */
public interface PetService {
    int deletePet(String id);
    int addPet(Pet pet);
    Pet selectOne(String id);
    int updatePet(Pet pet);
    List<Pet> searchPet(String owner);
    int deleteAll(String[] ids);
    int addAllPet(List<String[]> data);
    //分页查询
    DataResult limit(String currentPage, String pageSize, String owner);
}
